package com.wanxi.coupon.api.query;

import com.sun.istack.internal.NotNull;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ToString
@ApiModel("商家优惠券查询")
public class CouponEnterpriseQuery extends CommonQuery implements Cloneable {

    @NotNull
    @ApiModelProperty(value = "商家id",required = true)
    private Long enterpriseId;
    @ApiModelProperty(value = "优惠券id")
    private Long couponId;
    @ApiModelProperty(value = "优惠券名称",example = "满减")
    private String couponName;
    @ApiModelProperty(value = "状态")
    private Integer status; //状态
    @ApiModelProperty(value = "类型")
    private Integer type;
    @ApiModelProperty(value = "分页数据")
    private Integer page;
    @ApiModelProperty(value = "分页数据大小")
    private Integer pageSize;

    @Override
    public Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
